<h1>Editar Local</h1>

<?php
echo $this->Form->create('Local', array('action' => 'editar', 'class' => 'form-horizontal'));
echo $this->Form->input('id', array('type' => 'hidden'));
?>

<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('nome', array('class' => 'span5')); ?>
	</div>
</div>
<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('rua', array('class' => 'span4')); ?>
	</div>
</div>
<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('numero', array('class' => 'span1')); ?>
	</div>
</div>
<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('bairro', array('class' => 'span4')); ?>
	</div>
</div>
<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('cep', array('class' => 'span2')); ?>
	</div>
</div>
<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('cidade', array('class' => 'span4')); ?>
	</div>
</div>
<div class="control-group">
	<div class="controls">
		<?php echo $this->Form->input('estado', array('class' => 'span1')); ?>
	</div>
</div>

<div class="form-actions">
	<?php
	echo $this->Form->button('Salvar Local', array('type' => 'submit', 'class' => 'btn btn-primary'));
	echo $this->Html->link('Cancelar', array('controller' => 'home', 'action' => 'index'), array('class' => 'btn'));
	echo $this->Form->button('Limpar', array('type' => 'reset', 'class' => 'btn btn-inverse'));
	?>
</div>

<?php echo $this->Form->end(); ?>